<template>
  <div>
    个人中心
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="用户管理" name="first">
        <jiben></jiben>
      </el-tab-pane>
      <el-tab-pane label="密码修改" name="second">
        <mima></mima>
      </el-tab-pane>
      <el-tab-pane label="我的车辆" name="third">
        <cheliang></cheliang>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import Jiben from "@/components/jiben";
import Mima from "@/components/mima";
import Cheliang from "@/components/cheliang";
export default {
name: "geren",
  components: {Cheliang, Mima, Jiben},
  data() {
    return {
      activeName: 'second'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }
}
</script>

<style scoped>

</style>
